#!/bin/bash

j=$1

for ((i=1; i<=j; i++))
do
    dd if=/dev/random of=data${i} bs=1M count=1024
done